package entity;

import com.google.gson.annotations.SerializedName;

import java.util.Date;

public class Video {
    @SerializedName("vid")
    private int d_id;
    @SerializedName("title")
    private String d_title;
    @SerializedName("time")
    private long d_time = new Date().getTime();
    @SerializedName("description")
    private String d_description;
    @SerializedName("username")
    private String d_username;
    @SerializedName("cover")
    private String d_cover;
    @SerializedName("video")
    private String d_video;

    public int getD_id() {
        return d_id;
    }

    public void setD_id(int d_id) {
        this.d_id = d_id;
    }

    public String getD_title() {
        return d_title;
    }

    public void setD_title(String d_title) {
        this.d_title = d_title;
    }

    public long getD_time() {
        return d_time;
    }

    public void setD_time(long d_time) {
        this.d_time = d_time;
    }

    public String getD_description() {
        return d_description;
    }

    public void setD_description(String d_description) {
        this.d_description = d_description;
    }

    public String getD_username() {
        return d_username;
    }

    public void setD_username(String d_username) {
        this.d_username = d_username;
    }

    public String getD_cover() {
        return d_cover;
    }

    public void setD_cover(String d_cover) {
        this.d_cover = d_cover;
    }

    public String getD_video() {
        return d_video;
    }

    public void setD_video(String d_video) {
        this.d_video = d_video;
    }
}
